<?php

use App\Decorate\RequestDemo\MainProcess;
use App\Decorate\RequestDemo\RequestHelper;
use App\Decorate\RequestDemo\Request\LogRequest;
use App\Decorate\RequestDemo\Request\StructureRequest;
use App\Decorate\RequestDemo\Request\AuthenticateRequest;

require './vendor/autoload.php';

$process = new AuthenticateRequest(
    new StructureRequest(
        new LogRequest(
            new MainProcess()
        )
    )
);

$process->process(new RequestHelper());
